package com.imooc.mall.model.request;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CreateOrderReq {
    //收件人姓名
    @NotNull
    private String receiverName;
    //收件人电话
    @NotNull
    private String receiverMobile;
    //收件人地址
    @NotNull
    private String receiverAddress;
    //运费：默认 = 0
    private Integer postage = 0;
    //支付方式：默认在线支付-1
    private Integer paymentType = 1;
}